package mj.scott.service;

import mj.scott.pojo.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 菜品分类 服务类
 * @author Scott
 * @since 2025-08-15
 */
public interface ICategoryService extends IService<Category> {

    Category saveCategory(Category category);
    Category updateCategory(Category category);
    void deleteCategory(Long id);
    List<Category> getAllCategories();
    //分页查询
    List<Category> getAllCategory();
}
